import App from './App'

// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
import request from './common/request'
import config from './common/config'
import util from './common/util'
App.mpType = 'app'
Vue.prototype.$request=request
Vue.prototype.$config=config
Vue.prototype.$util=util
// #ifdef H5  
import jweixin from './common/jweixin'  
if(jweixin.isWechat()){  
    Vue.prototype.$jweixin =jweixin;  
}  
// #endif
const app = new Vue({
    ...App
})
app.$mount()
// 引入全局uView
import uView from "uview-ui";
Vue.use(uView);


// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif